package icu.qx.wm.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 产品入库单对象 wm_product_receipt
 *
 * @author alize
 * &#064;date  2024-06-17
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class WmProductReceipt extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 入库单编号
     */
    @Excel(name = "入库单编号")
    private String prCode;

    /**
     * 入库单名称
     */
    @Excel(name = "入库单名称")
    private String prName;

    /**
     * 入库时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入库时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date prReceiptDate;

    /**
     * 工单编号
     */
    @Excel(name = "工单编号")
    private String prOrderCode;

    /**
     * 工单名称
     */
    @Excel(name = "工单名称")
    private String prOrderName;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String prDesc;

    /**
     * 产品编号
     */
    @Excel(name = "产品编号")
    private String prProductCode;

    /**
     * 批次号
     */
    @Excel(name = "批次号")
    private String prBatch;

    /**
     * 入库数量
     */
    @Excel(name = "入库数量")
    private BigDecimal prReceiptNum;

    /**
     * 生产日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生产日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date prProductionDate;

    /**
     * 到期日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "到期日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date prExpirationDate;

    /**
     * 库位编号
     */
    @Excel(name = "库位编号")
    private String prStoLocation;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private String prStatus;

    /**
     * 仓库编码
     */
    private String wCode;

    /**
     * 产品名称
     */
    @Excel(name = "产品名称")
    private String prProductName;

    /**
     * 规格型号
     */
    @Excel(name = "规格型号")
    private String prProductSpecType;

    /**
     * 单位
     */
    @Excel(name = "单位")
    private String prProductUnitName;

    /**
     * 仓库名称
     */
    @Excel(name = "仓库名称")
    private String prWName;

    /**
     * 仓库负责人
     */
    private String wManager;

    /**
     * 库区名称
     */
    @Excel(name = "库区名称")
    private String prSaName;

    /**
     * 库位名称
     */
    @Excel(name = "库位名称")
    private String prSlName;

    /**
     * 产品类型
     */
    private String prGoodType;

    /**
     * 工单编号/名称
     */
    private String orderVo;

    /**
     * 产品编号/名称
     */
    private String productVo;

    @Override
    public String toString() {
        return "WmProductReceipt{" +
                "prCode='" + prCode + '\'' +
                ", prName='" + prName + '\'' +
                ", prReceiptDate=" + prReceiptDate +
                ", prOrderCode='" + prOrderCode + '\'' +
                ", prOrderName='" + prOrderName + '\'' +
                ", prDesc='" + prDesc + '\'' +
                ", prProductCode='" + prProductCode + '\'' +
                ", prBatch='" + prBatch + '\'' +
                ", prReceiptNum=" + prReceiptNum +
                ", prProductionDate=" + prProductionDate +
                ", prExpirationDate=" + prExpirationDate +
                ", prStoLocation='" + prStoLocation + '\'' +
                ", prStatus='" + prStatus + '\'' +
                ", wCode='" + wCode + '\'' +
                ", prProductName='" + prProductName + '\'' +
                ", prProductSpecType='" + prProductSpecType + '\'' +
                ", prProductUnitName='" + prProductUnitName + '\'' +
                ", prWName='" + prWName + '\'' +
                ", wManager='" + wManager + '\'' +
                ", prSaName='" + prSaName + '\'' +
                ", prSlName='" + prSlName + '\'' +
                ", prGoodType='" + prGoodType + '\'' +
                ", orderVo='" + orderVo + '\'' +
                ", productVo='" + productVo + '\'' +
                '}';
    }
}
